package com.huike.clues.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.huike.clues.domain.SysOperLog;
import com.huike.clues.domain.dto.GetLogListDTO;
import com.huike.clues.domain.dto.SysOperLogDTO;
import com.huike.clues.domain.vo.SyslogPageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description SysLogMapper
 * @Author zhuzi
 * @Date 2023/10/17
 */
@Mapper
public interface SysLogMapper extends BaseMapper<SysOperLog> {

    /**
     * 获取日志列表
     */
    Page<SyslogPageVO> getLogList(GetLogListDTO dto);

    /**
     * 清空日志
     */
    void clean();

    /**
     * 获取导出日志列表
     */
    List<SysOperLogDTO> getExportList(GetLogListDTO dto);

}
